home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_5.lha / 8_5 / vsprintf.c < prev    next >
Text File  |  1993-08-08  |  342b  |  13 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / write a variable argument list
  6. / in a formatted manner to a string
  7. include <limits.h>
  8. nt vsprintf(char *s, const char *fmt, va_list vl)
  9.  
  10.    ostream f(INT_MAX, s);
  11.    return _doprint(&f, fmt, vl);
  12.  
  13.